package com.xunshibao.entity.user;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Long id;
	private String email;
	private Boolean icon;
	private Boolean gender;
	private Integer regdate;
	private Integer bday;
	private int newpm;
	private int syspm;
	private int postnum;
	private Integer credit;
	private Integer lastvisit;
	private Integer thisvisit;
	
	

	public User(Long id, int newpm, int syspm, int postnum) {
		super();
		this.id = id;
		this.newpm = newpm;
		this.syspm = syspm;
		this.postnum = postnum;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Boolean getIcon() {
		return icon;
	}

	public void setIcon(Boolean icon) {
		this.icon = icon;
	}

	public Boolean getGender() {
		return gender;
	}

	public void setGender(Boolean gender) {
		this.gender = gender;
	}

	public Integer getRegdate() {
		return regdate;
	}

	public void setRegdate(Integer regdate) {
		this.regdate = regdate;
	}

	public Integer getBday() {
		return bday;
	}

	public void setBday(Integer bday) {
		this.bday = bday;
	}

	public int getNewpm() {
		return newpm;
	}

	public void setNewpm(int newpm) {
		this.newpm = newpm;
	}

	public int getSyspm() {
		return syspm;
	}

	public void setSyspm(int syspm) {
		this.syspm = syspm;
	}

	public int getPostnum() {
		return postnum;
	}

	public void setPostnum(int postnum) {
		this.postnum = postnum;
	}

	public Integer getCredit() {
		return credit;
	}

	public void setCredit(Integer credit) {
		this.credit = credit;
	}

	public Integer getLastvisit() {
		return lastvisit;
	}

	public void setLastvisit(Integer lastvisit) {
		this.lastvisit = lastvisit;
	}

	public Integer getThisvisit() {
		return thisvisit;
	}

	public void setThisvisit(Integer thisvisit) {
		this.thisvisit = thisvisit;
	}

	public User(String email, Boolean icon, Boolean gender, Integer regdate, Integer bday, int newpm, int syspm, int postnum, Integer credit,
			Integer lastvisit, Integer thisvisit) {
		super();
		this.email = email;
		this.icon = icon;
		this.gender = gender;
		this.regdate = regdate;
		this.bday = bday;
		this.newpm = newpm;
		this.syspm = syspm;
		this.postnum = postnum;
		this.credit = credit;
		this.lastvisit = lastvisit;
		this.thisvisit = thisvisit;
	}

	public User() {
		super();
	}

	// Constructors

}